Does the ``-'' sign have meaning in rsyslog.conf

Posted by Aleksandr Levchuk on Server Fault See other posts from Server Fault or by Aleksandr Levchuk
Published on 2011-01-16T21:45:40Z Indexed on 2011/01/16 21:54 UTC
Read the original article Hit count: 440

Filed under:
|

Rsyslog is backwards-compatible with Syslog configuration files.

The syslog.conf man page has:

You may prefix each entry with the minus ``-'' sign to omit syncing the file after every logging. Note that you might lose information if the system crashes right behind a write attempt. Nevertheless this might give you back some performance, especially if you run programs that use logging in a very verbose manner.

but I could not find aything about the - sign in man rsyslog.conf.

What does rsyslog do when if reads - in the config file?

© Server Fault or respective owner

Related posts about configuration

Related posts about rsyslog